


import java.time.LocalDateTime;

import java.util.Scanner;

public class WhileTest {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (true){
            String info = scanner.next();
            if (info.equals("n")) {
                break;
            }else {
                LocalDateTime now = LocalDateTime.now();
                System.out.println(now + "循环操作中~~~~~ 按n退出循环");
            }
        }
    }
}
